using ILRuntime.CLR.Method;
using ILRuntime.CLR.TypeSystem;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GameClient : MonoBehaviour
{
    void Start()
    {
        IType type = HotFixMgr.appdomain.LoadedTypes["Unity.Hotfix.InitUnityClass"];

        IMethod method = type.GetMethod("Init", 0);
        HotFixMgr.appdomain.Invoke(method, this, null);
    }
}
